<template>
  <div>
<!-- <van-button type="primary">主要按钮</van-button>
<van-button type="info">信息按钮</van-button>
<van-button type="default">默认按钮</van-button>
<van-button type="warning">警告按钮</van-button>
<van-button type="danger">危险按钮</van-button> -->
<router-view></router-view>
  </div>
</template>

<script>
// import request from '@/utils/request'
// import { setToken } from './utils/storage'
export default {
  async created () {
    // const res = await request.post('/user/register', {
    //   username: 'shuaipeng',
    //   password: '123456'
    // })
    // const { data: res } = await request.post('/user/login', {
    //   username: 'shuaipeng',
    //   password: '123456'
    // })
    // console.log(res)
    // setToken(res.data.token)
  }
}
</script>

<style lang="scss" scoped>

</style>
